package com.itheima.day01.test4;

public class Test4 {
    public static void main(String[] args) {
        Lecturer lecturer=new Lecturer();
        lecturer.setJobNo("666");
        lecturer.setName("乔峰");
        lecturer.work();

        Tutor tutor=new Tutor();
        tutor.setJobNo("668");
        tutor.setName("段誉");
        tutor.work();

        Maintainer maintainer=new Maintainer();
        maintainer.setJobNo("686");
        maintainer.setName("柳岩");
        maintainer.work();

        Buyer buyer = new Buyer();
        buyer.setJobNo("888");
        buyer.setName("景甜");
        buyer.work();
    }
}
